package com.ss.android.article.base.feature.user.location;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;

import java.util.List;

public final class a extends BaseAdapter {
    public static final class a$a {
        protected final AreaSelectedActivity a;

        a$a(AreaSelectedActivity arg1) {
            this.a = arg1;
        }
    }

    List a;
    com.ss.android.article.base.feature.user.location.a.a$a b;

    public a() {

    }

    public final int getCount() {
        int v0 = this.a == null ? 0 : this.a.size();
        return v0;
    }

    public final Object getItem(int arg2) {
        return null;
    }

    public final long getItemId(int arg3) {
        return 0;
    }

    public final View getView(int arg5, View arg6, ViewGroup arg7) {
        Object v0 = this.a.get(arg5);
        View v2 = LayoutInflater.from(arg7.getContext()).inflate(com.ss.android.article.browser.R.layout.ee, arg7, false);
        ((TextView)v2.findViewById(com.ss.android.article.browser.R.id.wy)).setText(((CharSequence)v0));
        v2.setOnClickListener(new b(this, ((String)v0)));
        return v2;
    }
}

